package canss.webservice.model;

import java.io.Serializable;
import java.sql.Date;

public class SCPContent implements Serializable
{
	private static final long serialVersionUID = -1308736050432723257L;
	private String dc_publisher = "";
	private String ContId = "";
	private String xmpdm_genre = "";
	private String dc_title = "";
	private String dc_description = "";
	private Date dc_date = new Date(0);
	private String dc_subject = "";
	//private Timestamp xmpdm_moddate = new Timestamp(0);
	
	public static final SCPContent emptySCPContent = new SCPContent();
		
	public SCPContent()
	{
		super();
	}
	public SCPContent(String _ContId)
	{
		super();
		if((_ContId!=null))
			ContId = _ContId;
	}


	public String getCONTID()
	{
		return ContId;
	}
	public void setCONTID(String _ContId)
	{
		if((_ContId!=null))
			ContId = _ContId;
	}
	public Date getDC_DATE()
	{
		return dc_date;
	}
	
	public void setDC_DATE(Date _dc_date)
	{
		if((_dc_date!=null))
			dc_date = _dc_date;
	}
	
	public String getDC_PUBLISHER()
	{
		return dc_publisher;
	}
	public void setDC_PUBLISHER(String _dc_publisher)
	{
		dc_publisher = _dc_publisher==null?"":_dc_publisher; 
	}
	public String getXMPDM_GENRE()
	{
		return xmpdm_genre;
	}
	public void setXMPDM_GENRE(String _xmpdm_genre)
	{
		xmpdm_genre = _xmpdm_genre==null?"":_xmpdm_genre; 
	}
	public String getDC_TITLE()
	{
		return dc_title;
	}
	public void setDC_TITLE(String _dc_title)
	{
		dc_title = _dc_title==null?"":_dc_title; 
	}
	public String getDC_DESCRIPTION()
	{
		return dc_description;
	}
	public void setDC_DESCRIPTION(String _dc_description)
	{
		dc_description = _dc_description==null?"":_dc_description; 
	}
	public String getDC_SUBJECT()
	{
		return dc_subject;
	}
	public void setDC_SUBJECT(String _dc_subject)
	{
		dc_subject = _dc_subject==null?"":_dc_subject; 
	}

	/*
	public Timestamp getXMPDM_MODDATE()
	{
		return xmpdm_moddate;
	}
	public void setXMPDM_MODDATE(Timestamp _xmpdm_moddate)
	{
		if(_xmpdm_moddate!=null)
			xmpdm_moddate = _xmpdm_moddate;
	}*/
}
